package com.ejlchina.tool.extension

import android.widget.RadioGroup
import androidx.core.view.children

fun RadioGroup.disableOrEnableRadioGroup(isEnable: Boolean){
    for (item in this.children){
        item.isEnabled = isEnable
    }
}